package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class TrimOperands {

    private int beginIndex;
    private int endIndex;
    private TrimSpecification trimSpecification;
    private StringValueExpression trimCharacter;
    private StringValueExpression trimSource;

    public TrimOperands(int beginIndex,
                        int endIndex,
                        TrimSpecification trimSpecification,
                        StringValueExpression trimCharacter,
                        StringValueExpression trimSource) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.trimSpecification = trimSpecification;
        this.trimCharacter = trimCharacter;
        this.trimSource = trimSource;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public TrimSpecification getTrimSpecification() {
        return trimSpecification;
    }

    public StringValueExpression getTrimCharacter() {
        return trimCharacter;
    }

    public StringValueExpression getTrimSource() {
        return trimSource;
    }

}
